settings.outformat = "pdf";
size(3cm);
draw(circle((0, 1), 0.5), red);
draw(circle((1, 0), 1.5), blue);
draw(ellipse((1, 0), 1.5, 0.5));